package cn.lenchu.data.h2.repository;

import cn.lenchu.data.h2.entity.GroupStockEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author lenchu
 */
public interface GroupStockRepository extends JpaRepository<GroupStockEntity, Integer> {

    List<GroupStockEntity> findAllByGroupId(Integer groupId);
}
